<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $tamember['username']?>评论的小店</title>
<link href="/css/base.css" type="text/css" rel="stylesheet" />
<link href="/css/manage.css" type="text/css" rel="stylesheet" />
<link href="/css/layout.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery.default.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
<script type="text/javascript" src="../../js/jquery.masonry.min.js"></script>
<script type="text/javascript" src="/js/xiaodian.js"></script>
<!--[if ie]><link href="/css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
<script type="text/javascript">
</script>

</head>

<body>
   <?php $this->load->view('head');?>
    <div class="w100p mt40 mb20">
    	<div class="w903 mg">
        	<div class="box_s1">
            	<div class="b_head"></div>
                <div class="content">
					<div class="mem_pd_s1">
                    	<!-- top -->
                    	<?php $eData['tamember']= $tamember;
                    		$eData['tab']='store'
                    	?>
                    	<?php $this->load->view('tatop',$eData)?>
                    	
                        <!-- top--end-->
                        <div class="clearfix mt20 mb20">
                        	<a href="#" class="street_talk">>>写日志</a>
                            <ul class="member_sorts_box fr">
                            	<li>
                                	<a href="#">时间排序</a>
                                </li>
                                <li>
                                	<a href="#">喜爱度</a>
                                </li>
                                <li class="last">
                                	<a href="#">话题排序</a>
                                </li>
                            </ul>
                        	<ul class="member_sub_menu fl">
                            	<li>
                                	<a href="<?php echo site_url('tastore/'.$tamember['id'])?>">TA的收藏[<?php echo $favoriteCount?>]</a>
                                </li>
                                <li>
                                	<a href="<?php echo site_url('tastore/add/'.$tamember['id'])?>">TA的添加[<?php echo $addCount?>]</a>
                                </li>
                                <li>
                                	<a href="<?php echo site_url('tastore/mang/'.$tamember['id'])?>">TA的管理[<?php echo $managerCount?>]</a>
                                </li>
                                <li class="current">
                                	<a href="<?php echo site_url('tastore/comment/'.$tamember['id'])?>">TA的评论[<?php echo $commentCount?>]</a>
                                </li>
                            </ul>
                            
                            <div class="clear"></div>
                        </div>
                        <ul class=" street_list">
                        	<?php foreach ($storeList as $store):?>
                        		<li>
	                            	<div class="lr_box">
	                                	<div class="l_box">
	                                    	<a href="<?php echo site_url('store?id='.$store['id'])?>"target="_blank"><img src="<?php echo site_url($store['photo'])?>" width="82" height="82" class="block" /></a>
	                                    </div>
	                                    <div class="r_box">
	                                    	<a href="<?php echo site_url('store?id='.$store['id'])?>" target="_blank" class="title"><?php echo $store['name']?></a>
	                                        <p class="address_c">
	                                        	地址：<?php echo $store['address']?>
	                                        </p>
	                                        <p class="address_e">
	                                        	Add：<?php echo $store['eaddress']?>
	                                        </p>
	                                        <div class="rela_nums">
	                                        	<div class="love_nums">
	                                				<i class="icon_heart"></i><span>喜欢<b><?php echo $store['loves']?></b></span>
	                                			</div>
	                                            <span><a href="#">收藏</a>[<?php echo $store['favorites']?>]</span>
	                                            <span><a href="#">推荐</a>[<?php echo $store['recommends']?>]</span>
	                                            <span><a href="#">评论</a>[<?php echo $store['comments']?>]</span>
	                                        </div>
	                                    </div>
	                                </div>
	                            </li>
                        	<?php endforeach;?>
                        	
                            
                        </ul>
                        <!-- content--end-->
                        
                        <!-- fanye -->
                        <div class="clearfix">
                        	 <div class="fanye mt10">
                            <?php echo $this->pagination->create_links()?>
                             </div>
                            <div class="clear"></div>
                        </div>
                     </div>
                    
                    
                </div>
                <div class="b_foot"></div>
            </div>
        </div>
    </div>
    
   <?php $this->load->view('foot')?>
</body>
<script type="text/javascript">
	
	
</script>
</html>
